package com.bobo.netty.common.bizEnum;

public enum ChatTypeEnum {
    SINGLE_CHAT(0, "单聊"),
    GROUP_CHAT(1, "群聊");
    private Integer code;
    private String desc;

    private ChatTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    public Integer getCode() {
        return code;
    }

    public String getName() {
        return desc;
    }
}
